<?php
html::printPath('accomodationType.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/accomodationType/edit', text::get('accomodationType.createNew')) ?></li>
    <li class="changeOrderAction"><?php echo html::anchor('admin/accomodationType/orderForm', text::get('application.changeOrder')) ?></li>
</ul>

<?php
$elb = new EntityListBuilder($this, $accomodationTypeList, 'code');
$elb->text('code');
$elb->text('code_part');
$elb->text('name');
$elb->text('description');
$elb->text('order_number')->labelKey('application.orderNumber');
$elb->write();
